Xbasic

INET::SSLSocket::Connect Method

Syntax

Result_Flag as L = Connect(Host as C, Port as N [, ConnectTimeout = -1 as N])

Arguments

Result_Flag

TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

Host

Character

Port

Numeric

ConnectTimeout = -1

Optional. Default = -1. The timeout in milliseconds.

Description

The INET::SSLSocket::Connect() method opens a connection to the requested host and port. Note: ConnectTimeout is in milliseconds.

Example

Refer to INET::SSLSocket Object

See Also